package com.ljs.service.impl;

import com.ljs.entity.User;
import com.ljs.respository.UserMapper;
import com.ljs.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;
    @Override
    public User loginUser(String username, String password) {
        return userMapper.loginUser(username,password);
    }
}
